﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys.Entity
{
    /// <summary>
    /// 逾期设置.
    /// </summary>
    [SugarTable("qms_base_overduesetting", "逾期设置")]
    [Tenant(ClaimConst.TENANTID)]
    public class QmsBaseOverduesettingEntity : CLDEntityBase
    {
        /// <summary>
        /// 业务类型，字典项.
        /// </summary>
        [SugarColumn(ColumnName = "F_Type", ColumnDescription = "业务类型，字典项")]
        public string Type { get; set; }

        /// <summary>
        /// 状态，即将逾期=1 逾期=2.
        /// </summary>
        [SugarColumn(ColumnName = "F_Status", ColumnDescription = "状态，即将逾期=1 逾期=2")]
        public string Status { get; set; }

        /// <summary>
        /// 时间单位 day=天 hour=小时 minute=分钟 second=秒.
        /// </summary>
        [SugarColumn(ColumnName = "F_TimeUnit", ColumnDescription = "时间单位 day=天 hour=小时 minute=分钟 second=秒")]
        public string TimeUnit { get; set; }

        /// <summary>
        /// 时间最小值.
        /// </summary>
        [SugarColumn(ColumnName = "F_MinValue", ColumnDescription = "时间最小值")]
        public int? MinValue { get; set; }

        /// <summary>
        /// 时间最大值.
        /// </summary>
        [SugarColumn(ColumnName = "F_MaxValue", ColumnDescription = "时间最大值")]
        public int? MaxValue { get; set; }

        /// <summary>
        /// 消息接收人.
        /// </summary>
        [SugarColumn(ColumnName = "F_RecipientList", ColumnDescription = "消息接收人")]
        public string RecipientList { get; set; }

        /// <summary>
        /// 消息模板.
        /// </summary>
        [SugarColumn(ColumnName = "F_MessageTemplate", ColumnDescription = "消息模板")]
        public string MessageTemplate { get; set; }
    }
}
